<?php
class XProceedingJoinPoint{
	protected $fatory = null;
	protected $object = null;
	protected $method = null;
	protected $args = null;
	
	public function __construct(XClassFactory $fatory, $object, $method, $args = array()){
		$this->fatory = $fatory;
		$this->object = $object;
		$this->method = $method;
		$this->args = $args;
	}
	
	public function proceed(){
		return $this->fatory->invokeArgs($this->object, $this->method, $this->args);
	}
}
?>